<?php
/**
 * The template for displaying posts in the Audio post format.
 *
 * @package WordPress
 * @subpackage Bootstrapper
 * @since Bootstrapper 1.0
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

	<?php if ( is_single() ) : ?>
        <header class="page-header">
            <h1 class="entry-title"><?php the_title(); ?></h1>
        </header><!-- .page-header -->
    <?php else : ?>
        <h1 class="entry-title">
            <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'bootstrapper' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
        </h1>
    <?php endif; // is_single() ?>

	<div class="entry-media"><div class="genericon genericon-audio"></div>
		<div class="audio-content">
			<?php the_post_format_audio(); ?>
		</div><!-- .audio-content -->
	</div><!-- .entry-media -->

	<div class="entry-content">
		<?php the_remaining_content( __( 'View more <i class="meta-nav icon-chevron-right"></i>', 'bootstrapper' ) ); ?>
		<?php bootstrapper_link_pages(); ?>
	</div><!-- .entry-content -->

	<footer class="entry-meta">
		<?php bootstrapper_entry_meta(); ?>
		<?php edit_post_link( __( 'Edit', 'bootstrapper' ), '<span class="edit-link"><i class="icon-edit"></i> ', '</span>' ); ?>
		<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
			<?php get_template_part( 'author-bio' ); ?>
		<?php endif; ?>
	</footer><!-- .entry-meta -->
    
</article><!-- #post -->
